//
//  NSMutableArray+WLArrayFoundation.m
//  Pods
//
//  Created by 汪磊 on 16/11/22.
//
//

#import "NSMutableArray+WLArrayFoundation.h"

@implementation NSMutableArray (WLArrayFoundation)

+ (NSMutableArray *)arrayWithClass:(Class)classname repeatCount:(int)count {
    NSMutableArray *arr = [NSMutableArray arrayWithCapacity:count];
    for (int i = 0; i < count; i++) {
        [arr addObject:[[classname alloc] init]];
    }
    return arr;
}

@end
